﻿<Window x:Class="MultipleMonitorVideo.Views.VideoView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:viewModels="clr-namespace:MultipleMonitorVideo.ViewModels"
        Title="VideoView" Width="1600" Height="900"
        ResizeMode="NoResize" WindowStyle="None"
        AllowsTransparency="True">
    <Window.DataContext>
        <viewModels:VideoViewModel/>
    </Window.DataContext>
    <Grid>
        <MediaElement Name="Video" Source="{Binding FileName}"
                      LoadedBehavior="Manual" UnloadedBehavior="Stop"
                      MediaOpened="Video_OnMediaOpened" MediaEnded="Video_OnMediaEnded"></MediaElement>
    </Grid>
</Window>
